package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName st_answer_record
 */
@TableName(value ="st_answer_record")
@Data
public class StAnswerRecord implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 试卷id
     */
    @TableField(value = "record_id")
    private Integer recordId;

    /**
     * 问题id
     */
    @TableField(value = "question_id")
    private Integer questionId;

    /**
     * 答案内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 是否正确（仅限选择题、判断题）
     */
    @TableField(value = "is_correct")
    private Boolean isCorrect;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}